rust-binding: Extend bindings to support composefs and signing
authorAlexander Larsson <alexl@redhat.com>
Fri, 26 Sep 2025 08:02:59 +0000 (10:02 +0200)
committerAlexander Larsson <alexl@redhat.com>
Fri, 26 Sep 2025 13:37:06 +0000 (15:37 +0200)
This adds GLib.VariantDict, which is needed for
ostree_repo_commit_add_composefs_metadata(), and OSTree.BlobReader
which are needed for ostree_sign_read_sk().

With these we can sign ostree commits with composefs digests in them.

rust-bindings/conf/ostree.toml

index 57314db478ba8c6fa7ea63bcf96ffa7e80456e9b..8807b459f163b2abb69b5da45fa24f1e6cbc61fc 100644 (file)
@@ -18,6 +18,7 @@ girs_directories = [ "../gir-files" ]
 
 generate = [
     "OSTree.AsyncProgress",
+    "OSTree.BlobReader",
     "OSTree.BootconfigParser",
     "OSTree.ChecksumFlags",
     "OSTree.ContentWriter",
@@ -83,6 +84,7 @@ manual = [
     "GLib.Quark",
     "GLib.String",
     "GLib.Variant",
+    "GLib.VariantDict",
     "GLib.VariantType",
 
     # [MANUAL] types implemented by hand